/*/
 * 首页布局css文件
 * By 张剑锋
/*/

/*TODO*/
#top>div>a{
    text-align: center;
    color: black;
    font-size: x-large;
    text-decoration: none;
    white-space: nowrap;
}
/*TODO*/

#main{
    display: flex;
    justify-content: center;
}
#rec{
    width: 720px;
    margin: 0px 32px;
}
#rec>a,
#tag>a:first-of-type{
    padding: 8px;
    display: block;
    font-size: large;
    font-weight: bold;
    border-bottom: 1px solid lightgray;
}
.rec{
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 24px;
}
.rec>div{
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
}
.rec>div>img{
    width: 120px;
    height: 175px;
}
.rec>div>a{
    width: 120px;
    padding-top: 4px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.rec>div>a:first-of-type{
    color: #3377aa;
    font-size: 14px;
    text-decoration: none;
}
.rec>div>a:last-of-type{
    color: #333333;
    font-size: 13px;
}
#tag{
    width: 300px;
    margin: 0px 32px;
}
#tag>a{
    font-size: small;
}
#tag>div{
    border-bottom: 1px dashed lightgray;
    padding-bottom: 4px;
    margin-bottom: 12px;
}
#tag>div>button{
    padding: 4px 10px;
    margin: 4px 2px;
    border: none;
    outline: none;
    cursor: pointer;
}
#tag>div>button:hover{
    background: lightgray;
}